<%@ page language="java" 
	contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

<%

	String errorMessage = "";

	errorMessage = ( request.getAttribute("errorMessage") != null ) 
						? (String) request.getAttribute("errorMessage")
						: "";

%>

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Clinica Facil</title>
   
    <!-- Loading Bootstrap -->
    <link href="resources/css/bootstrap.css" rel="stylesheet">

    <!-- Loading Flat UI -->
    <link href="resources/css/flat-ui.css" rel="stylesheet">
    
    <link rel="shortcut icon" href="resources/images/favicon.ico">

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
    <!--[if lt IE 9]>
      <script src="js/html5shiv.js"></script>
    <![endif]-->
</head>
<body>

	<div class="container">
		<div class="error">
			<span class="alert"><%= errorMessage %> 
								<% out.write(errorMessage); %> </span>
		</div>
		<h2> Login </h2>
		
		<form action="login" method="post">
			<label >User Name</label>
			<input type="text" name="username" value="" placeholder="User Name" >
			<label >Password</label>
			<input type="password" name="password" value="" placeholder="Password" >
			
			<button type="submit" class="btn btn-large btn-primary" > OK </button>
		</form>
		
	</div>

</body>
</html>